package com.wei.miaosha.redis;

/**
 * Created by Weizichen on 2018/8/5.
 * desc:MiaoShaUserKey前缀名
 */
public class MiaoShaUserKey extends BasePrefix {
    private static final int TOKEN_EXPIRE = 3600 * 24 * 2;

    public MiaoShaUserKey(int expireSeconds, String prefix) {
        super(expireSeconds, prefix);
    }


    public static MiaoShaUserKey token = new MiaoShaUserKey(TOKEN_EXPIRE, "tk");
    public static MiaoShaUserKey getById = new MiaoShaUserKey(0, "id");

}
